﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;

namespace ERP.DbContext
{
    /// <summary>
    /// 
    /// </summary>
    public class EFDbContext : Microsoft.EntityFrameworkCore.DbContext
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="options"></param>
        public EFDbContext(DbContextOptions options) : base(options)
        {

        }

        /// <summary>
        /// 实体创建事件
        /// </summary>
        /// <param name="modelBuilder"></param>
        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
        }
    }
}
